package com.chengcang.api.modules.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "重新设置密码表单")
public class RsetPwdDTO {

    @ApiModelProperty(value = "手机号")
    @NotBlank(message="{sysuser.mobile.require}")
    private String mobile;

    @ApiModelProperty(value = "第一次输入密码")
    @NotBlank(message="{sysuser.password.require}")
    private String firstPwd;

    @ApiModelProperty(value = "第二次输入密码")
    @NotBlank(message="{sysuser.password.require}")
    private String secondPwd;

}
